package com.etc.entity;

import java.util.List;

public class Person {
	private int id;
	private String name;
	private List<Orders> orderList;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public List<Orders> getOrderList() {
		return orderList;
	}
	public void setOrderList(List<Orders> orderList) {
		this.orderList = orderList;
	}
	
	public Person(){
		super();
	}
	
	public Person(int id, String name, List<Orders> orderList) {
		super();
		this.id = id;
		this.name = name;
		this.orderList = orderList;
	}
	@Override
	public String toString() {
		return "Person [id=" + id + ", name=" + name + ", orderList="
				+ orderList + "]";
	}
	
	
	
}
